#include <stdio.h>
#include "mpi.h"

int
main(int argc, char **argv)
{
	int size, rank;
	MPI_Init(&argc, &argv);
	
	MPI_Comm_size(MPI_COMM_WORLD, &size);
	MPI_Comm_rank(MPI_COMM_WORLD, &rank);
	
	printf("size: %d rank: %d\n", size, rank);
	
	MPI_Finalize();
	if (rank == 0) {
		printf("SUCCESS\n");
	}
	return 0;
}

